using UnityEngine;

public interface IDamageable // 受伤
{
    void TakeDamage(int amount, GameObject from);
}

public interface IAttacker // 攻击者
{
    int AttackPower { get; }
    GameObject OwnerObject { get; }

    int TeamId { get; } // 1=玩家，2=敌人
}